<?
   include('../classes/net/Http.class.php');
   
   //test 1
	$xmlsrc = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n";
	$xmlsrc .= "<XMLRequest>";
	//$xmlsrc .= "<Action>ITEMS_LIST</Action>";
	$xmlsrc .= "<Action>PING</Action>";
	$xmlsrc .= "</XMLRequest>";

	$url    = "http://www.citysightsny.com/ws/?xml=".rawurlencode($xmlsrc);
    $http   = new Http();
    $filename = "../storage/_ws.xml";    
    $http->GET($url,"",$filename);
    echo file_get_contents($filename);
    @unlink($filename);    
?>